<%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://micronova.com/yuzu" prefix="m"%> 
<%@page import = "com.db4o.ext.ExtObjectContainer" %>
<%@page import = "com.db4o.servlet.Db4oServlet" %>
<%@page import = "facades.*" %>
<%@page import = "auser.*" %>
<%@page import = "java.util.*" %>
<%  
	Db4oCareTaker db4octpd = new Db4oCareTaker(session,"padova"); 
	Db4oCareTaker db4octcopy = new Db4oCareTaker(session,"padova_cp"); 
	
	com.db4o.ObjectContainer copd = db4octpd.getContainer();
	com.db4o.ObjectContainer cocopy = db4octcopy.getContainer();
	
	 
	  
	for(java.util.Iterator i= copd.query(auser.AccantonamentoBar.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.CausaleContabile.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.Circolo.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.Comune.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.Counters.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.MovimentoBar.class).iterator(); i.hasNext();)
		cocopy.set(i.next());	
	for(java.util.Iterator i= copd.query(auser.ParametersPDoppia.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.Persona.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.PianoDeiConti.class).iterator(); i.hasNext();)
		cocopy.set(i.next()); 
	for(java.util.Iterator i= copd.query(auser.ScritturaDiPrimaNota.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(ScritturaDiPrimaNotaAccantonamentoBar.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	
	for(java.util.Iterator i= copd.query(ScritturaDiPrimaNotaTesseramento.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	
	for(java.util.Iterator i= copd.query(auser.Socio.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.Tessera.class).iterator(); i.hasNext();)
		cocopy.set(i.next());	
	for(java.util.Iterator i= copd.query(auser.Utente.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.VoceDiPrimaNota.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	for(java.util.Iterator i= copd.query(auser.VoceDiPrimaNotaDaScrittura.class).iterator(); i.hasNext();)
		cocopy.set(i.next());
	
	cocopy.commit();

%>

<%=new Date() %><br>
${userBean.userId} terminato
